Unsafe Time Handling in Smartphones

نویسندگان

  • Abhilash Jindal
  • Y. Charlie Hu
  • Samuel P. Midkiff
  • Prahlad Joshi
چکیده

Time manipulation, typically done using gettime() and settime(), happens extensively across all software layers in smartphones, from the kernel, to the framework, to millions of apps. This paper presents the first study of a new class of software bugs on smartphones called sleep-induced time bugs (SITB). SITB happens when the phone is suspended, due to the aggressive sleeping policy adopted in smartphones, in the middle of a time critical section where time is being manipulated and delay caused by unexpected phone suspension alters the intended program behavior. We first characterize time usages in the Android kernel, framework, and 978 apps into four categories and study their vulnerabilities to system suspension. Our study shows time manipulation happens extensively in all three software layers, totaling 1047, 1737 and 7798 times, respectively, and all four usage patterns are vulnerable to SITBs. We then present a tool called KLOCK, that makes use of a set of static analyses to systematically identify sleep-induced time bugs in three of the four time usage categories. When applied to five different Android Linux kernels, KLOCK correctly flagged 63 SITBvulnerable time manipulation instances as time bugs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Co-operative ITS: Smartphone based Measurement Systems for Road Safety Assessment

Co-operative Intelligent Transportation Systems (C-ITS) are attracting a lot of attention, and many resources are devoted to the development of new platforms integrating vehicle-to-vehicle (V2V) and vehicle-to-infrastructure (V2I) communications. The main goal of these systems is to improve safety level on the road networks through a new intelligent services available on-board supporting smarte...

متن کامل

Middleware-Based Security and Privacy for In-car Integration of Third-Party Applications

Today’s vehicles include up to seventy networked electronic platforms handling simultaneously infotainment and safety functions. Fully connected to the world, the car is now customizable, communicates with several external devices, online services and will be soon hosting third party applications, as our smartphones already do. Such an evolution raises several critical security and privacy issu...

متن کامل

ارزیابی وظایف حمل بار با استفاده از آیین نامه حمل دستی بار در ایران و مقایسه آن با معادله NIOSH و MAC در یک صنعت ریخته گری تهران در سال 1391

Introduction: Musculoskeletal disorders are the most prevalent problem in the workplace. Unsafe manual material handling is amongst important causes of such disorders. Unsafe manual material handling can result in different musculoskeletal disorders such as acute physical injuries and increase of strain in back, shoulders and arms. United state society of orthopedic surgeons ranked back pain a...

متن کامل

Investigating the Relationship between Employee Safe Behavior and Safety Culture in a Livestock Industry

Background: Occupational incidents still account for a high percentage of causes of death and disability. A study was designed to determine the relationship between employee safe behavior and safety culture. Methods: In this analytical study, all employees of an industrial livestock units of Tehran participated (n = 200). The data on the employee behavior was evaluated using the safety samplin...

متن کامل

Smartphones and Our Students:A Case of Undergraduate Students in an EFL Context

Immoderate smart phone usage usually makes the students addicted to it and spends less time reading lecture notes and textbooks. This study aims to determine university students' usage of smart phones and perceived rejection of paper books in an EFL context. The study collected data through a 20-item structured questionnaire consisting of the general characteristics, the number and hours of gen...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016